<!-- Content -->
<div id="content">
    <!-- Content wrapper -->
    <div class="wrapper">
        <h5 class="widget-name"><i class="icon-columns"></i>Métricas</h5>

        <!-- Default datatable -->
        <div class="widget">
            <div class="navbar"><div class="navbar-inner"><h6>Empleados por Material</h6></div></div>
            <div class="table-overflow">
                <table class="table table-hover " id="data-table">
                    <thead>
                        <tr>
                            <td>#</td>
                            <td>Empresa </td>
                            <td>División </td>
                            <td>Módulo </td>
                            <td>Sub-Módulo</td>
                            <td>Material</td>
                            <td>Total</td>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach($lista as $num => $row){?>
                        <tr>
                            <td><?= $num+1 ?></td>
                            <td><?= $row->e_nombre ?></td>
                            <td><?= $row->d_nombre ?></td>
                            <td><?= $row->m_nombre ?></td>
                            <td><?= $row->sm_nombre ?></td>
                            <td><?= $row->m_titulo ?></td>
                            <td><?= $row->tpersonas ?></td>
                        </tr>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>
        <!-- /default datatable -->
    </div>
    <!-- /Content wrapper -->
</div>
<!-- /Content -->